import { ApiProperty } from "@nestjs/swagger";

export class CreatePhotoDto {
  @ApiProperty({ description: '名称' })
  name: string;
  @ApiProperty({ description: '描述' })
  description: string;
  @ApiProperty({ description: '文件名称' })
  filename: string;
  @ApiProperty({ description: '浏览数' })
  views: number;
  @ApiProperty({ description: '是否发布' })
  isPublished: boolean;
}
